how to insert data from checkbook to database